﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Item.Master" AutoEventWireup="true"
    CodeBehind="PageItem.aspx.cs" Inherits="SGDemo.Permission.PageItem" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cpHeader" runat="server">
    <script src="PageItem.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpBody" runat="server">
    <div class="ui-menu">
        <uc:Menu ID="menu1" runat="server" DataFile="../Views/Permission/Menu/PageItem.xml"
            PageCode="PageItem" />
    </div>
    <div class="ui-wrapper">
        <div class="ui-hidden">
            <dx:ASPxLabel ID="lblKeyid" ClientInstanceName="lblKeyid" runat="server" />
            <dx:ASPxLabel ID="lblParentKeyid" ClientInstanceName="lblParentKeyid" runat="server" />
            <dx:ASPxLabel ID="lblHelpKeyid" ClientInstanceName="lblHelpKeyid" runat="server" />
        </div>
        <ul class="ui-list">
            <li>
                <dx:ASPxLabel ID="lblPageName" runat="server" Text="页面名称：" ForeColor="Red" AssociatedControlID="txtPageName" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtPageName" ClientInstanceName="txtPageName" runat="server"
                    Width="120px">
                    <ValidationSettings>
                        <RequiredField IsRequired="True" ErrorText="页面名称必须填写" />
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </li>
            <li>
                <dx:ASPxLabel ID="lblPageCode" runat="server" Text="页面编码：" ForeColor="Red" AssociatedControlID="txtPageCode" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtPageCode" ClientInstanceName="txtPageCode" runat="server"
                    Width="120px">
                    <ValidationSettings>
                        <RequiredField IsRequired="True" ErrorText="页面编码必须填写" />
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </li>
            <li>
                <dx:ASPxLabel ID="lblPageNameEn" runat="server" Text="页面英文名称：" AssociatedControlID="txtPageNameEn" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtPageNameEn" ClientInstanceName="txtPageNameEn" runat="server"
                    Width="120px">
                </dx:ASPxTextBox>
            </li>
            <li>
                <dx:ASPxLabel ID="lblModule" runat="server" Text="所属模块：" ForeColor="Red" AssociatedControlID="cbModule" />
            </li>
            <li>
                <dx:ASPxComboBox ID="cbModule" ClientInstanceName="cbModule" runat="server" Width="120">
                </dx:ASPxComboBox>
            </li>
        </ul>
        <ul class="ui-list">
            
            <li>
                <dx:ASPxLabel ID="lblImageUrl" runat="server" Text="图片地址：" AssociatedControlID="txtImageUrl" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtImageUrl" ClientInstanceName="txtImageUrl" runat="server"
                    Width="340px">
                </dx:ASPxTextBox>
            </li>
            <li>
                <dx:ASPxLabel ID="lblNavigateUrl" runat="server" Text="导航代码：" AssociatedControlID="txtNavigateUrl" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtNavigateUrl" ClientInstanceName="txtNavigateUrl" runat="server"
                    Width="340px">
                </dx:ASPxTextBox>
            </li>
        </ul>
        <ul class="ui-list ">
        <li style="text-align: right">
                <dx:ASPxHyperLink ID="lnkhelp" ClientInstanceName="lnkhelp" Cursor="pointer" Text="帮助标题"
                    Font-Underline="true" runat="server">
                    <ClientSideEvents Click="btnAddHelpClick" />
                </dx:ASPxHyperLink>：</li>
            <li>
                <dx:ASPxTextBox ID="txtHelpTitle" ClientInstanceName="txtHelpTitle" runat="server"
                    ReadOnly="true" Width="120px">
                </dx:ASPxTextBox>
            </li>
            <li>
                <dx:ASPxLabel ID="lblOrder" runat="server" Text="排序：" AssociatedControlID="txtOrder" />
            </li>
            <li>
                <dx:ASPxSpinEdit ID="seOrder" ClientInstanceName="seOrder" runat="server" Number="0"
                    MaxLength="11" Width="120">
                    <SpinButtons ShowIncrementButtons="False" ShowLargeIncrementButtons="False" />
                </dx:ASPxSpinEdit>
            </li>
            <li>
                <dx:ASPxLabel ID="lblPageType" runat="server" Text="页面类型：" ForeColor="Red" />
            </li>
            <li>
                <dx:ASPxRadioButtonList ID="rblPageType" ClientInstanceName="rblPageType" runat="server"
                    RepeatDirection="Horizontal" RepeatLayout="Table" Width="340">
                    <Items>
                        <dx:ListEditItem Text="导航菜单" Value="0" />
                        <dx:ListEditItem Text="组织菜单" Value="1" />
                        <dx:ListEditItem Text="模块相关" Value="2" />
                    </Items>
                    <Paddings Padding="0" />
                </dx:ASPxRadioButtonList>
            </li>
        </ul>
        <ul class="ui-list ">
            <li style="text-align:right">默认分配权限：</li>
            <li style="width: 780px;">

                <dx:ASPxRadioButtonList ID="rblIsAssignment" ClientIDMode="Static" ClientInstanceName="rblIsAssignment" 
                    runat="server" RepeatDirection="Horizontal" RepeatLayout="Table" Width="120px">
                    <Items>
                        <dx:ListEditItem Text="是" Value="true" Selected="true"/>
                        <dx:ListEditItem Text="否" Value="false"  />
                    </Items>
                    <Paddings Padding="0" />
                </dx:ASPxRadioButtonList>
       
            </li>
        </ul>
        <ul class="ui-list ">
            <li>
                <dx:ASPxLabel ID="lblRemark" runat="server" Text="描述：" AssociatedControlID="txtRemark" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtRemark" ClientInstanceName="txtRemark" runat="server" Width="780px"
                    Height="200px">
                </dx:ASPxTextBox>
            </li>
        </ul>
        <div class="ui-validation">
            <dx:ASPxValidationSummary ID="vsSummary" runat="server" RenderMode="BulletedList"
                Width="100%" ClientInstanceName="validationSummary" ShowErrorsInEditors="false"
                ShowErrorAsLink="true">
            </dx:ASPxValidationSummary>
        </div>
          <ul class="sl-floatcenter clearfix ui-btn-bottom ui-btn-saveforadd">
          <li class="sl-floatcenter-item" style="padding-top:20px">
              <div >
             <table>
               <tr>
                  <td>
                   <dx:ASPxButton ID="btnSaveToAdd" ClientInstanceName="btnSaveToAdd" runat="server"
                    Text="保 存" AutoPostBack="false">
                        <ClientSideEvents Click="doSaveForAdd" />
                </dx:ASPxButton>
                  </td>
                   <td style="width:20px"></td>
                  <td>
                   <dx:ASPxButton ID="btnSaveAndContinueToAdd" ClientInstanceName="btnSaveAndContinueToAdd"
                    runat="server" Text="保存完继续新增" AutoPostBack="false">
                      <ClientSideEvents Click="doSaveAndContinueToAdd" />
                </dx:ASPxButton>
                  </td>
                  <td style="width:20px"></td>
                  <td>
                     <dx:ASPxButton ID="btnResetForAdd" ClientInstanceName="btnResetForAdd" runat="server"
                    Text="重 置" AutoPostBack="false">
                         <ClientSideEvents Click="doResetForAdd" />
                </dx:ASPxButton>
                  </td>
               </tr>
             </table>
          </div>
          
          </li>
        </ul>
        <ul class="sl-floatcenter clearfix ui-btn-bottom ui-btn-saveforedit">
         <li class="sl-floatcenter-item" style="padding-top:20px">
              <div >
             <table>
               <tr>
                  <td>
                     <dx:ASPxButton ID="btnSaveToEdit" ClientInstanceName="btnSaveToEdit" runat="server"
               Text="保 存" AutoPostBack="false">
                    <ClientSideEvents Click="doSaveForEdit" />
                </dx:ASPxButton>
                  </td>
                   <td style="width:20px"></td>
                  <td>
                    <dx:ASPxButton ID="btnCancelForEdit" ClientInstanceName="btnCancelForEdit" runat="server"
                    Text="取 消" AutoPostBack="false">
                     <ClientSideEvents Click="doCancelForEdit" />
                </dx:ASPxButton>
                  </td>
               </tr>
             </table>
          </div>
          
          </li>
        </ul>
    </div>
    <div class="ui-state">
        <ul>
            <li>创建人： </li>
            <li>
                <dx:ASPxLabel ID="lblCreateName" ClientInstanceName="lblCreateName" runat="server" />
            </li>
            <li class="ui-state-seperator">| </li>
            <li>创建日期： </li>
            <li>
                <dx:ASPxLabel ID="lblCreateDate" ClientInstanceName="lblCreateDate" runat="server" />
            </li>
            <li class="ui-state-seperator">| </li>
            <li>编辑人： </li>
            <li>
                <dx:ASPxLabel ID="lblModifyName" ClientInstanceName="lblModifyName" runat="server" />
            </li>
            <li class="ui-state-seperator">| </li>
            <li>编辑日期： </li>
            <li>
                <dx:ASPxLabel ID="lblModifyDate" ClientInstanceName="lblModifyDate" runat="server" />
            </li>
        </ul>
    </div>
</asp:Content>
